﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tensop.Net.Tcp.Protocol
{
    public interface IProtocolService
    {        
        short GetKeys();
        byte[] Parse(byte[] data,Client c);
        ArraySegment<byte> Parse(ArraySegment<byte> data,Client c);
        byte[] Parse(object protocol);
    }
}
